
#include <stdlib.h>
#include <stdio.h>

#include "../include/list.h"
#include "../include/queue.h"

int queue_enqueue(queue_t *queue, const void *data)
{
	return list_insert_next(queue, list_tail(queue), data);
}

int queue_dequeue(queue_t *queue, void **data)
{
	return list_remove_next(queue, NULL, data);
}


